<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <div class="container">
        <form name="userinfo">
            <div>
                昵称：
                <input type="text" name="nickname" maxlength="10">
            </div>
            <div>
                性别：
                <label>
                    <input type="radio" name="gender" value="male">
                    男
                </label>
                <label>
                    <input type="radio" name="gender" value="female">
                    女
                </label>
            </div>
            <div>
                生日：
                <input type="text" name="birthday" id="birthday">
            </div>
            <div>
                头像：
                <input type="file" name="avatar" accept="image/">
                <img id="avatar">
            </div>
            <div>
                <button type="submit">更新</button>
            </div>
            <div>
                <a href="/index.html">
                    返回首页
                </a>
            </div>
        </form>
    </div>
</body>

</html>